package com.fhzn.boss.web.request;

import com.fhzn.boss.entity.LabelExtension;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author 老顾
 * @apiNote
 * @since 2024/3/25
 */
@Data
public class LabelsOpRequest {

    @Schema(description = "id")
    private Integer id;

    @Schema(description = "parent id")
    private Integer parentId;

    @Schema(description = "type")
    private Integer type;

    @Schema(description = "code")
    private String code;

    @Schema(description = "所属应用")
    private String appCode;

    @Schema(description = "name")
    @NotEmpty
    private String name;

    @Schema(description = "备注信息")
    private String comment;

    @Schema(description = "扩展信息")
    private LabelExtension extension;
}
